﻿@model CouponDto
<form asp-action="CouponCreate">
    <br />
    <div class="container border p-3">
        <h1 class="text-white text-center">Create Coupon</h1>

        <hr />
        <div class="row">
            <div class="col-2">
                <label class="control-label pt-2" style="font-size:20px;">Coupon Code</label>
            </div>
            <div class="col-10 pb-3">
                <input class="form-control" asp-for="CouponCode" />
                <span asp-validation-for="CouponCode"></span>
            </div>
            <div class="col-2">
                <label class="control-label pt-2" style="font-size:20px;">Discount Amount</label>
            </div>
            <div class="col-10 pb-3">
                <input class="form-control" asp-for="DiscountAmount" />
                <span asp-validation-for="DiscountAmount"></span>
            </div>
            <div class="col-2">
                <label class="control-label pt-2" style="font-size:20px;">
                    Minimum Amount
                </label>
            </div>
            <div class="col-10 pb-3">
                <input class="form-control" asp-for="MinAmount" />
                <span asp-validation-for="MinAmount"></span>
            </div>

            <div class="col-5 offset-2">

                <a class="btn-primary btn form-control " asp-controller="Coupon" asp-action="CouponIndex">Back to List</a>
            </div>
            <div class="col-5">
                <input type="submit" value="Create" class="btn btn-success form-control" />

            </div>

        </div>

        <div>
        </div>
    </div>
</form>

@section Scripts{
    <partial name="_ValidationScriptsPartial"></partial>
}